<?php

namespace App\Admin\Requests;

class UploadImageRequest extends Request
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'type' => 'bail|required|in:goods,appeal,help,notice,payment,card,order,avatar',
        ];
    }

}
